package com.llb666.shop.gateway.client.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 权限账户.
 *
 * @author llb666
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Account {

    /**
     * 用户
     */
    private String userId;

    /**
     * 密钥
     */
    private String token;

    /**
     * 刷新重新获取的密钥
     */
    private String refreshToken;

    /**
     * 是否跳过验证(默认false)
     */
    @Builder.Default
    private boolean skipVerification = false;
}
